<template>
  <div>
    <h3>子组件</h3>
    <div>父组件传递过来的名称: {{id}}</div>
    <div>父组件传递过来的年龄: {{name}}</div>
    <div>父组件传递过来的年龄: {{disable}}</div>
  </div>
</template>

 <script>
export default {
  props: ["id", "name"],
  created() {},
  mounted() {}
};
</script>